package edu.gdin.ecommerce.service;

import java.util.Date;

import edu.gdin.ecommerce.model.Account;
import edu.gdin.ecommerce.model.Customer;
import edu.gdin.ecommerce.model.User;
import edu.gdin.ecommerce.util.Pager;

public interface IAccountService {
	public boolean addAccount(Account account);
	public Pager queryAccount(String accountName, String AccName, Integer useType,
			String customerName, String operTime1, String operTime2, Integer cPage);
	public Account getAccountById(Integer accountId);
	public boolean updateAccount(Account account);

	public Pager getAccountRecoredById(Integer accountId, Integer cpg);

	/**
	 * 批量开户
	 * @param batchNo
	 * @param useType
	 * @param account
	 * @param user
	 */
	public void batchAddAccount(String batchNo, Integer useType, Account account, User user);
	
	/**
	 * 导入开户模板
	 * @return
	 */
	public String importAddFile();
	
	/**
	 * 导入开户
	 * @param importFile
	 * @param user
	 */
	public String importAddAccount(String importFile, User user);
}
